package Zuo4Ye2;

public class ColaEmployee {
	private String name;
	private int month;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getMonth() {
		return month;
	}
	public void setMonth(int month) {
		this.month = month;
	}
	public ColaEmployee() {
		super();
	}
	public ColaEmployee(String name, int month) {
		super();
		this.name = name;
		this.month = month;
	}
	public double getSalary(int month) {
		return month==this.month ? 100 : 0;
	}
}

